@echo off

set yyyymmdd=%date:~0,4%-%date:~5,2%%date:~8,2%
::set hhmmss=%time:~0,2%%time:~3,2%%time:~6,2%
::set ohmmss=0%time:~1,1%%time:~3,2%%time:~6,2%
set hhmm=%time:~0,2%%time:~3,2%
set hmm=0%time:~1,1%%time:~3,2%
set hh=%time:~0,2%

if %hh% LSS 10 (
	if %hh% GTR 0 (
		::cmd
	)
) else (
	::cmd
)